<?php

class setKotaTable extends Doctrine_Table
{
    public function getKotaList() {
        $q = $this->createQuery('k');

        $query = $q->execute();

        $result = array();
        foreach($query as $q) {
            $result[$q->getId()] = $q->getNama();
        }

        return $result;
    }
}